package org.yohailong.studyreactfrombilibili.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author 朱海龙
 * 2025/9/7 14:36
 */
@Data
public class CommentVO {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long rpid;

    private UserVO user;

    private String content;

    @JsonFormat(pattern = "MM-dd HH:mm")
    private LocalDateTime ctime;

    private Integer like;

}
